package it.heima.xmy;

public class Order {
    private Goods goods;
    private  int  amount;
    private double transactionMoney;
    private boolean isPay;

    public Order() {
    }

    public Order(Goods goods, int amount, double transactionMoney, boolean isPay) {
        this.goods = goods;
        this.amount = amount;
        this.transactionMoney = transactionMoney;
        this.isPay = isPay;
    }

    /**
     * 获取
     * @return goods
     */
    public Goods getGoods() {
        return goods;
    }

    /**
     * 设置
     * @param goods
     */
    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    /**
     * 获取
     * @return amount
     */
    public int getAmount() {
        return amount;
    }

    /**
     * 设置
     * @param amount
     */
    public void setAmount(int amount) {
        this.amount = amount;
    }

    /**
     * 获取
     * @return transactionMoney
     */
    public double getTransactionMoney() {
        return transactionMoney;
    }

    /**
     * 设置
     * @param transactionMoney
     */
    public void setTransactionMoney(double transactionMoney) {
        this.transactionMoney = transactionMoney;
    }

    /**
     * 获取
     * @return isPay
     */
    public boolean isIsPay() {
        return isPay;
    }

    /**
     * 设置
     * @param isPay
     */
    public void setIsPay(boolean isPay) {
        this.isPay = isPay;
    }


}
